{extend name="main/index" /}
{block name="main"}


<div class="content-page">
    <!-- ============================================================== -->
    <!-- Start Content here -->
    <!-- ============================================================== -->
    <div class="content">
        <!-- Page Heading Start -->
        <div class="page-heading">
            <h1><i class='fa fa-table'></i> 节点管理</h1>
            <h3></h3>            	</div>
        <!-- Page Heading End-->				<!-- Your awesome content goes here -->
        <div class="row">

            <div class="col-md-12">
                <div class="widget">
                    <div class="widget-header transparent">
                        <h2><strong>节点列表</strong></h2>
                        <div class="additional-btn">
                            <a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
                            <a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
                            <a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
                        </div>
                    </div>
                    <div class="widget-content">
                        <div class="table-responsive">
                            <table data-sortable class="table">
                                <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>节点名称</th>
                                    <th>模块名</th>
                                    <th>方法名</th>
                                    <th>状态</th>
                                    <th data-sortable="false">操作</th>
                                </tr>
                                </thead>

                                <tbody>
                                {volist name="list" id="v" mod="2"}

                                <tr>
                                    <td>{$v['id']}</td>
                                    <td><strong>{$v['name']}</strong></td>
                                    <td>{$v['controller']}</td>
                                    <td>{$v['method']}</td>
                                    <td><a data-toggle="tooltip" class="btn-default">{$v['status']?'启用':'禁用'}</td>
                                    <td>
                                        <div class="btn-group btn-group-xs">
                                            <a  href="{:url('admin/con4/delete',['id'=>$v['id']])}" data-toggle="tooltip" title="删除" class="btn btn-default"><i class="fa fa-power-off">删除</i></a>
                                            <a href="{:url('admin/con4/edit',['id'=>$v['id']])}" data-toggle="tooltip" title="编辑" class="btn btn-default"><i class="fa fa-edit">编辑</i></a>

                                        </div>
                                    </td>
                                </tr>
                                {/volist}

                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>





        <!-- Footer Start -->
        <footer>
            Huban Creative &copy; 2014
            <div class="footer-links pull-right">
                <a href="#">About</a><a href="#">Support</a><a href="#">Terms of Service</a><a href="#">Legal</a><a href="#">Help</a><a href="#">Contact Us</a>
            </div>
        </footer>
        <!-- Footer End -->
    </div>
    <!-- ============================================================== -->
    <!-- End content here -->
    <!-- ============================================================== -->

</div>


{/block}